package com.autoTools.view;

import java.awt.MenuItem;
import com.autoTools.util.LogUtil;
public class MenuItemView extends BaseView
{
	private MenuItem mMenuItem = null;

	public MenuItemView()
	{
		mMenuItem = new MenuItem();
		mMenuItem.setEnabled(true);
		BaseInit(mMenuItem);
	}

	public boolean addChild(BaseView child)
	{
		boolean state = false;
		LogUtil.sysLog(TAG, "addChild Error:child is not extends Component");
		return state;
	}
	
	public void setLabel(String label){
		super.setLabel(label);
		mMenuItem.setLabel(label);
	}
}
